package com.micromsg.basic.sys.vo.entity;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户表实体类
 *
 * @author yangyang
 * @date 2024/04/06
 **/
@Data
public class UserEntityVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private String id;

    @ApiModelProperty(value = "账号")
    private String uid;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "密码 可以使用加密存储")
    private String password;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "记录用户最后一次登录的时间")
    private Date lastLoggedIn;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "头像连接")
    private String avatar;

    @ApiModelProperty(value = "状态")
    private String status;
}
